<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>C:\Documents and Settings\Chris\My Documents\Programming\C++\Borealis\src\include\borealis\Raster.h</title><link rel="stylesheet" type="text/css" href="../../../styles/main.css"><script language=JavaScript src="../../../javascript/main.js"></script><script language=JavaScript src="../../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.4 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Raster.h"></a>Raster.h</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Raster.h" >Raster.h</a></td><td class=SDescription></td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Raster" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">Raster</a></td><td class=SDescription>Copy constructor.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Raster" id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">Raster</a></td><td class=SDescription>Default constructor</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Raster" id=link3 onMouseOver="ShowTip(event, 'tt1', 'link3')" onMouseOut="HideTip('tt1')">Raster</a></td><td class=SDescription>Creates an empty raster of size row x col</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#~Raster" id=link4 onMouseOver="ShowTip(event, 'tt2', 'link4')" onMouseOut="HideTip('tt2')">~Raster</a></td><td class=SDescription>Cleans up.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#GetRow" id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">GetRow</a></td><td class=SDescription>Returns the number of rows in the raster, 0 if empty.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#GetCol" id=link6 onMouseOver="ShowTip(event, 'tt4', 'link6')" onMouseOut="HideTip('tt4')">GetCol</a></td><td class=SDescription>Returns the number of columns in the raster, 0 if empty.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#GetRasterAt" id=link7 onMouseOver="ShowTip(event, 'tt5', 'link7')" onMouseOut="HideTip('tt5')">GetRasterAt</a></td><td class=SDescription>Returns the item at (row,col) in the raster. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#SetRasterAt" id=link8 onMouseOver="ShowTip(event, 'tt6', 'link8')" onMouseOut="HideTip('tt6')">SetRasterAt</a></td><td class=SDescription>Sets the raster to contain item &lsquo;item&rsquo; at (row,col)</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#CreateEmptyRaster" id=link9 onMouseOver="ShowTip(event, 'tt7', 'link9')" onMouseOut="HideTip('tt7')">CreateEmptyRaster</a></td><td class=SDescription>Creates an empty raster. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenFromFile" id=link10 onMouseOver="ShowTip(event, 'tt8', 'link10')" onMouseOut="HideTip('tt8')">OpenFromFile</a></td><td class=SDescription>Open a raster from a file</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#SaveToFile" id=link11 onMouseOver="ShowTip(event, 'tt9', 'link11')" onMouseOut="HideTip('tt9')">SaveToFile</a></td><td class=SDescription>Saves the raster to a file</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#GetBands" id=link12 onMouseOver="ShowTip(event, 'tt10', 'link12')" onMouseOut="HideTip('tt10')">GetBands</a></td><td class=SDescription>Returns the number of bands in the raster. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Raster"></a>Raster</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Raster(</td><td class=PType nowrap>Raster&nbsp;</td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>in</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Copy constructor.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>Raster &amp; in</td><td class=CDLDescription>Raster to copy</td></tr></table><h4 class=CHeading>Throws</h4><p>Never</p><h4 class=CHeading>Returns</h4></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Raster"></a>Raster</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>Raster()</td></tr></table></blockquote><p>Default constructor</p><h4 class=CHeading>Parameters</h4><p>None</p><h4 class=CHeading>Throws</h4><p>Never</p><h4 class=CHeading>Returns</h4></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Raster"></a>Raster</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Raster(</td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>row,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>col,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>bands</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates an empty raster of size row x col</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>unsigned int row</td><td class=CDLDescription>Row count</td></tr><tr><td class=CDLEntry>unsigned int col</td><td class=CDLDescription>Column count</td></tr><tr><td class=CDLEntry>unsigned int bands</td><td class=CDLDescription>Raster band.&nbsp; Default = 0.&nbsp; 0 &lt;= band &lt; n</td></tr></table><h4 class=CHeading>Throws</h4><p>Never</p><h4 class=CHeading>Returns</h4></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="~Raster"></a>~Raster</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual ~Raster()</td></tr></table></blockquote><p>Cleans up.</p><h4 class=CHeading>Parameters</h4><h4 class=CHeading>Throws</h4><p>Never</p><h4 class=CHeading>Returns</h4></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="GetRow"></a>GetRow</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>inline unsigned int GetRow()</td></tr></table></blockquote><p>Returns the number of rows in the raster, 0 if empty.</p><h4 class=CHeading>Parameters</h4><p>None</p><h4 class=CHeading>Throws</h4><p>Never</p><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>unsigned int</td><td class=CDLDescription>Row count</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="GetCol"></a>GetCol</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>inline unsigned int GetCol()</td></tr></table></blockquote><p>Returns the number of columns in the raster, 0 if empty.</p><h4 class=CHeading>Parameters</h4><p>None</p><h4 class=CHeading>Throws</h4><p>Never</p><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>unsigned int</td><td class=CDLDescription>Column count.</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="GetRasterAt"></a>GetRasterAt</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>inline T GetRasterAt(</td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>row,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>col,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>band</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the item at (row,col) in the raster.&nbsp; Used only to view the information.&nbsp; User <a href="#SetRasterAt" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt6', 'link13')" onMouseOut="HideTip('tt6')">SetRasterAt</a> to change an item.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>unsigned int row</td><td class=CDLDescription>Row</td></tr><tr><td class=CDLEntry>unsigned int col</td><td class=CDLDescription>Column</td></tr><tr><td class=CDLEntry>unsigned int band</td><td class=CDLDescription>Raster band.&nbsp; Default = 0; 0 &lt;= band &lt; n</td></tr></table><h4 class=CHeading>Throws</h4><p>std::runtime_error if a raster has not been loaded or created</p><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>T</td><td class=CDLDescription>The item  at row,col</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="SetRasterAt"></a>SetRasterAt</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>inline void SetRasterAt(</td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>row,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>col,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap></td><td class=PType nowrap>T&nbsp;</td><td class=PParameter nowrap>item,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>band</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the raster to contain item &lsquo;item&rsquo; at (row,col)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>unsigned int row</td><td class=CDLDescription>Row</td></tr><tr><td class=CDLEntry>unsigned int col</td><td class=CDLDescription>Column</td></tr><tr><td class=CDLEntry>unsigned int band</td><td class=CDLDescription>Raster band.&nbsp; Default=0; 0&lt;=band&lt;n</td></tr><tr><td class=CDLEntry>T item</td><td class=CDLDescription>Item to place</td></tr></table><h4 class=CHeading>Throws</h4><p>std::runtime_error if a raster has not been loaded or created</p><h4 class=CHeading>Returns</h4><p>void</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="CreateEmptyRaster"></a>CreateEmptyRaster</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>void CreateEmptyRaster(</td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>row,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>col,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>bands</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates an empty raster.&nbsp; Allocates the needed memory.&nbsp; Not thread safe.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>unsigned int row</td><td class=CDLDescription>Row</td></tr><tr><td class=CDLEntry>unsigned int col</td><td class=CDLDescription>Column</td></tr><tr><td class=CDLEntry>unsigned int bands</td><td class=CDLDescription>Number of raster bands to create.&nbsp; Default=1.&nbsp; Bands must be &gt;= 1</td></tr></table><h4 class=CHeading>Throws</h4><p>std::bad_alloc if the memory can&rsquo;t be allocated</p><h4 class=CHeading>Returns</h4><p>void</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenFromFile"></a>OpenFromFile</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual void OpenFromFile(</td><td class=PTypePrefix nowrap>std::</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>) = 0</td></tr></table></td></tr></table></blockquote><p>Open a raster from a file</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>std::string path</td><td class=CDLDescription>Path to file to open</td></tr></table><h4 class=CHeading>Throws</h4><p>std::runtime_error if file cannot be found or error opening file</p><h4 class=CHeading>Returns</h4><p>void</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="SaveToFile"></a>SaveToFile</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual void SaveToFile(</td><td class=PTypePrefix nowrap>std::</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>) = 0</td></tr></table></td></tr></table></blockquote><p>Saves the raster to a file</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>std::string path</td><td class=CDLDescription>Path to the file to save</td></tr></table><h4 class=CHeading>Throws</h4><p>std::runtime_error if file cannot be saved</p><h4 class=CHeading>Returns</h4><p>void</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="GetBands"></a>GetBands</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual unsigned int GetBands()</td></tr></table></blockquote><p>Returns the number of bands in the raster.&nbsp; 0 = Raster is empty 1 or more = if the raster has one or more bands</p><h4 class=CHeading>Parameters</h4><p>None</p><h4 class=CHeading>Throws</h4><p>Never</p><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>unsigned int</td><td class=CDLDescription>Number of bands present in the raster</td></tr></table></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MEntry><div class=MFile><a href="AsciiRaster-h.html">AsciiRaster.h</a></div></div><div class=MEntry><div class=MFile><a href="Clock-h.html">Clock.h</a></div></div><div class=MEntry><div class=MFile><a href="Logger-h.html">Logger.h</a></div></div><div class=MEntry><div class=MFile><a href="Observation-h.html">Observation</a></div></div><div class=MEntry><div class=MFile id=MSelected>Raster.h</div></div><div class=MEntry><div class=MFile><a href="RegexTokenizer-h.html">RegexTokenizer</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Types.html">Types</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Types">Types</option></select></div></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Raster(</td><td class=PType nowrap>Raster&nbsp;</td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>in</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Copy constructor.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual ~Raster()</td></tr></table></blockquote>Cleans up.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>inline unsigned int GetRow()</td></tr></table></blockquote>Returns the number of rows in the raster, 0 if empty.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>inline unsigned int GetCol()</td></tr></table></blockquote>Returns the number of columns in the raster, 0 if empty.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>inline T GetRasterAt(</td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>row,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>col,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>band</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the item at (row,col) in the raster. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>inline void SetRasterAt(</td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>row,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>col,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap></td><td class=PType nowrap>T&nbsp;</td><td class=PParameter nowrap>item,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>band</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the raster to contain item &lsquo;item&rsquo; at (row,col)</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>void CreateEmptyRaster(</td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>row,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>col,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PTypePrefix nowrap>unsigned&nbsp;</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>bands</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates an empty raster. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual void OpenFromFile(</td><td class=PTypePrefix nowrap>std::</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>) = 0</td></tr></table></td></tr></table></blockquote>Open a raster from a file</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual void SaveToFile(</td><td class=PTypePrefix nowrap>std::</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>) = 0</td></tr></table></td></tr></table></blockquote>Saves the raster to a file</div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual unsigned int GetBands()</td></tr></table></blockquote>Returns the number of bands in the raster. </div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>